package com.jing.weibo.mapper.user;

import java.util.List;

import com.jing.weibo.pojo.user.UserTags;

/**
 * 用户标签的Mapper
 * @author jing.yue
 * @version 2012/10/18 1.0.0
 */
public interface UserTagsMapper {

	/**
	 * 保存用户标签信息
	 * @param userSign
	 * @throws Exception
	 */
	public abstract void saveUserTags(UserTags userTags) throws Exception;

	/**
	 * 根据标签名称查询标签对象
	 * @param name
	 * @return
	 * @throws Exception
	 */
	public abstract UserTags findByNameUserTags(String name) throws Exception;

	/**
	 * 分页获取标签信息
	 * @param userTags
	 * @return
	 * @throws Exception
	 */
	public abstract List<UserTags> findUserTags(UserTags userTags) throws Exception;

	/**
	 * 分页获取标签信息记录数
	 * @param userTags
	 * @return
	 * @throws Exception
	 */
	public abstract Integer findUserTagsCount(UserTags userTags) throws Exception;

}